use Mix.Config

config :logger,
  level: :debug

#  #ecto_repos: [ShortenApi.Repo]
config :mnesia,
  dir: to_charlist Path.join(File.cwd!, 
                    '../../priv/mnesia.#{Mix.env}.#{node()}'
                    )

config :short_ener, 
  data_provider: DbSupport.Provider.Mnesia ,
  cowboy_port: 9081 ,
  author: "ZoomQuiet+ziply@gmail.com",
  aname: "Zip.ly",
  ver: "201019.1642",
  usage: """
    DAMA's URL Shortener mini. srv.
    Usage:
      check is-alive?/
      $ curl localhost:9081/ping
        pong ;-)
        I'm alive.

      generate Ziply URI/
        $ curl localhost:9081/api -X POST -d 'url=https://qq.com/'
        iff the new URL will get:
          Ziply: t.101.s/2ws3 ~> https://qq.com/
        else return old URL:
          Ziped: t.101.s/2ws3 ~> https://qq.com/

      visit Ziply URI/
        browser address field -> t.101.s/2ws3

      more infomation:
      https://gitee.com/alchemists/ziply
    """

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
#import_config "#{Mix.env}.exs"

